<!doctype html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">

    <title>LTable - 工单系统</title>

    <!-- begin::global styles -->
    <link rel="stylesheet" th:href="@{/vendors/bundle.css}" type="text/css">
    <!-- end::global styles -->


    <!-- begin::custom styles -->
    <link rel="stylesheet" th:href="@{/css/app.css}" type="text/css">
    <link rel="stylesheet" th:href="@{/css/custom.css}" type="text/css">
    <!-- end::custom styles -->

</head>
<body>

<div th:replace="~{commons/commons::businessnavbar}"></div>
<!--主要展示内容 在main里显示-->
<!-- begin::main content -->
<main >
    <div class="card">
        <div class="card-body">
            <form th:action="@{/submit_comment}" method="post">
                <h3>尊敬的用户，请对此次服务做出评价</h3>
                <div>
                    <input type="hidden" name="oid" th:value="${oid}" class="form-control">
                </div>
                <div>
                    <label>工单评分</label>
                    <input type="text" name="commentscore" th:value="${commentscore}" class="form-control" placeholder="请给出评分 0~100分">
                </div>
                <div>
                    <label>工单评价</label>
                    <input type="text" name="comment"  class="form-control" placeholder="请简要评价此次服务">
                </div>
                <div>
                    <label style="color: red" th:text="${msg}"></label>
                </div>
                <div>
                    <button class="btn btn-primary">提交</button>
                </div>
            </form>
        </div>
    </div>
</main>
<!-- end::main content -->

<!-- begin::global scripts -->
<script th:src="@{/vendors/bundle.js}"></script>
<!-- end::global scripts -->
<!-- begin::dashboard -->
<script th:src="@{/js/examples/dashboard.js}"></script>
<!-- end::dashboard -->

<!-- begin::custom scripts -->
<script th:src="@{/js/custom.js}"></script>
<script th:src="@{/js/app.js}"></script>
<!-- end::custom scripts -->

</body>
</html>